Activate Browser
AutomatR.Web.Activities.ActivateBrowser
The "Activate Browser" activity in AutomatR's Web Activities category is designed to activate an already opened browser, facilitating the execution of multiple actions within it. This activity is useful when working with web automation scenarios, where interacting with a specific browser instance is required.
Properties
Name | Description |
---|---|
Input | |
Browser | Enter the browser object, which could be the output of other activities (e.g., Open Browser). |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Activate Browser" activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the time is 1000 milliseconds or 1 sec, i.e., 1. |
How to use:
- Drag and drop the "Activate Browser" activity onto the workflow.
- Configure the properties by specifying the browser object obtained from other activities (e.g., Open Browser).
- Optionally, configure the delay.
- Execute the workflow to activate the specified browser, bringing it to the foreground for further actions.
Example: Consider an example where the "Activate Browser" activity is used to activate a browser object obtained from the "Open Browser" activity:
Activate Browser:
Browser: browserObjectFromOpenBrowser
Delay: 2
In this example, the activity activates the browser specified by the "browserObjectFromOpenBrowser" variable, bringing it to the foreground for subsequent web automation actions.